package com.example.peibei.ui.adapter;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.dingtao.common.bean.TuiguangDetail;
import com.example.peibei.R;

import java.util.List;

public class TuiguangItemAdapter extends BaseQuickAdapter<String, BaseViewHolder> {
    public TuiguangItemAdapter(@Nullable List<String> data) {
        super(R.layout.item_item, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {
        helper.setText(R.id.tv_cate,item);
    }
}
